package cn.zust.itcost.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

/*公告*/

@Data
public class Notice {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String context;

    private String title;

    private String type;

    @TableField(fill = FieldFill.INSERT_UPDATE)//插入和更新时填充字段
    private LocalDateTime time;

}
